﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 五味子串口调试助手3
{
    public abstract class checkBase
    {
        public abstract string checkData(string s);

        //public static checkBase getCheckMethod(string s)
        //{
        //    Type[] childTypes = tools.GetChildTypes(typeof(checkBase));
        //    Type[] array = childTypes;
        //    for (int i = 0; i < array.Length; i++)
        //    {
        //        Type type = array[i];
        //        if (type.GetField("name").GetValue(null).ToString() == s)
        //        {
        //            return (checkBase)Activator.CreateInstance(type);
        //        }
        //    }
        //    return new checkNoneCheck();
        //}
    }
}
